package com.qbccn.usercenter.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * 结果集
 */
@Data
public class ResponsePageResult<T> implements Serializable {
    private static final long serialVersionUID = 3468352004150968551L;
    private Integer code;
    private Integer page;
    private Integer size;
    private Long count;
    private T data;

    public ResponsePageResult(Integer code, Integer page, Integer size, Long count, T data) {
        super();
        this.code = code;
        this.page = page;
        this.size = size;
        this.count = count;
        this.data = data;
    }

}
